package com.yc.cloud.common.oss.filter;


import com.yc.cloud.common.basic.utils.MyFileUtils;

import java.io.File;
import java.io.FileFilter;

public class ImageFileFilter implements FileFilter {
    @Override
    public boolean accept(File pathname) {
        return MyFileUtils.isImage(pathname.getName());
    }
}
